package cn.ssq.dao;

import cn.ssq.domain.SampleToxinInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SampleToxinInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SampleToxinInfo record);

    int insertSelective(SampleToxinInfo record);
    int insertitno(SampleToxinInfo sampleToxinInfo);
    SampleToxinInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SampleToxinInfo record);

    int updateByPrimaryKey(SampleToxinInfo record);
    List<SampleToxinInfo> selectAll();
    Integer selectIdByName(String toxinName);


    String selectIdBy0Id(Integer toxinTyoe);
}